#ifndef __GUI_IMAGE_H__
#define __GUI_IMAGE_H__
#include "stdio.h"
#include "stdint.h"

#define Dialplate_Point_Minute_Max 16
#define Dialplate_Point_Second_Max 16
#define Dialplate_Point_Hour_Max   16

typedef struct
{
	uint32_t Address;
	//int16_t x_pos;
	//int16_t y_pos;

}Dialplate_t;

typedef struct
{
  Dialplate_t Point_Hour    [Dialplate_Point_Hour_Max];
  Dialplate_t Point_Minute  [Dialplate_Point_Minute_Max];
  Dialplate_t Point_Second     [Dialplate_Point_Second_Max];
 
}Dialplate_Point_t;


void LCD_Vertical_Scroll_Mode_Display();
void LCD_Vertical_Scroll_Mode_Exit();



void LCD_Set_Address(uint16_t i);

void LCD_Show_Background(uint16_t x,uint16_t y,uint32_t address,uint8_t k);
void GUI_Show_Image_Num(int x,int y,uint32_t address,uint8_t num);

void GUI_Show_Image_Num_Offset(int x,int y,uint32_t address,uint8_t num);

void GUI_Show_Image_Week(uint16_t x,uint16_t y,uint32_t address,uint8_t num);

void GUI_Show_Dialplate_Point(int x,int y,uint32_t address,uint8_t num);

void GUI_Show_Dialplate_Pointer_Time(int x,int y,Dialplate_t *address,uint8_t num,uint8_t time);


void GUI_Show_Image(uint16_t x,uint16_t y,uint32_t address);


void GUI_Show_Image_Alpha(uint16_t x,uint16_t y,uint32_t address);



void Part_Display_Mode_ON();
void Part_Display_Mode_OFF();


void LCD_Set_Area_Display(unsigned int y0, unsigned int y1);



#endif
